import React,{ Component } from 'react';
import IndexTop from './IndexTop.js';
import IndexFooter from './IndexFooter.js';
import IndexCenter from './IndexCenter.js';
import styles from '../css/index.css';//使用require导入css文件
export default class IndexMain extends React.Component{
    render(){
        return (
        	<div>
				<IndexTop />
				<IndexCenter />
				<IndexFooter />
			</div>
        );
    }
}
React.render(<IndexMain />, document.getElementById('webIndex'));